package com.ruoyi.ky450.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 目标类别对象 target_category
 *
 * @author ruoyi
 * @date 2025-01-16
 */
@Data
@ToString
public class TargetCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 类别名称 */
    @Excel(name = "类别名称")
    private String categoryName;

    /** 父id */
    @Excel(name = "父id")
    private Long parentId;

    /** 排序 */
    @Excel(name = "排序")
    private Integer level;

    /** 1 固定设施 2 装备 */
    @Excel(name = "1 固定设施 2 装备")
    private Integer type;

    /** 关联目标id */
    @Excel(name = "关联目标id")
    private Long infoId;
}
